﻿using Microsoft.EntityFrameworkCore.Migrations;

#nullable disable

namespace AdminManagement.Migrations
{
    public partial class 扩展实体基础字段 : Migration
    {
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropColumn(
                name: "ConcurrencyStamp",
                table: "Sys_User");

            migrationBuilder.DropColumn(
                name: "ExtraProperties",
                table: "Sys_User");

            migrationBuilder.DropColumn(
                name: "ConcurrencyStamp",
                table: "Sys_Role");

            migrationBuilder.DropColumn(
                name: "ExtraProperties",
                table: "Sys_Role");

            migrationBuilder.DropColumn(
                name: "ConcurrencyStamp",
                table: "Sys_Notice");

            migrationBuilder.DropColumn(
                name: "ExtraProperties",
                table: "Sys_Notice");

            migrationBuilder.DropColumn(
                name: "ConcurrencyStamp",
                table: "Sys_Menu");

            migrationBuilder.DropColumn(
                name: "ExtraProperties",
                table: "Sys_Menu");

            migrationBuilder.DropColumn(
                name: "ConcurrencyStamp",
                table: "Sys_Dict_Data");

            migrationBuilder.DropColumn(
                name: "ExtraProperties",
                table: "Sys_Dict_Data");

            migrationBuilder.DropColumn(
                name: "ConcurrencyStamp",
                table: "Sys_Dict");

            migrationBuilder.DropColumn(
                name: "ExtraProperties",
                table: "Sys_Dict");

            migrationBuilder.DropColumn(
                name: "ConcurrencyStamp",
                table: "Sys_Dept");

            migrationBuilder.DropColumn(
                name: "ExtraProperties",
                table: "Sys_Dept");

            migrationBuilder.AddColumn<string>(
                name: "CreatorName",
                table: "Sys_User_Notice",
                type: "nvarchar(50)",
                maxLength: 50,
                nullable: true);

            migrationBuilder.AddColumn<string>(
                name: "DeleterName",
                table: "Sys_User_Notice",
                type: "nvarchar(50)",
                maxLength: 50,
                nullable: true);

            migrationBuilder.AddColumn<string>(
                name: "LastModifierName",
                table: "Sys_User_Notice",
                type: "nvarchar(50)",
                maxLength: 50,
                nullable: true);

            migrationBuilder.AddColumn<string>(
                name: "CreatorName",
                table: "Sys_User",
                type: "nvarchar(50)",
                maxLength: 50,
                nullable: true);

            migrationBuilder.AddColumn<string>(
                name: "DeleterName",
                table: "Sys_User",
                type: "nvarchar(50)",
                maxLength: 50,
                nullable: true);

            migrationBuilder.AddColumn<string>(
                name: "LastModifierName",
                table: "Sys_User",
                type: "nvarchar(50)",
                maxLength: 50,
                nullable: true);

            migrationBuilder.AddColumn<string>(
                name: "CreatorName",
                table: "Sys_Role",
                type: "nvarchar(50)",
                maxLength: 50,
                nullable: true);

            migrationBuilder.AddColumn<string>(
                name: "DeleterName",
                table: "Sys_Role",
                type: "nvarchar(50)",
                maxLength: 50,
                nullable: true);

            migrationBuilder.AddColumn<string>(
                name: "LastModifierName",
                table: "Sys_Role",
                type: "nvarchar(50)",
                maxLength: 50,
                nullable: true);

            migrationBuilder.AddColumn<string>(
                name: "CreatorName",
                table: "Sys_Notice",
                type: "nvarchar(50)",
                maxLength: 50,
                nullable: true);

            migrationBuilder.AddColumn<string>(
                name: "DeleterName",
                table: "Sys_Notice",
                type: "nvarchar(50)",
                maxLength: 50,
                nullable: true);

            migrationBuilder.AddColumn<string>(
                name: "LastModifierName",
                table: "Sys_Notice",
                type: "nvarchar(50)",
                maxLength: 50,
                nullable: true);

            migrationBuilder.AddColumn<string>(
                name: "CreatorName",
                table: "Sys_Menu",
                type: "nvarchar(50)",
                maxLength: 50,
                nullable: true);

            migrationBuilder.AddColumn<string>(
                name: "DeleterName",
                table: "Sys_Menu",
                type: "nvarchar(50)",
                maxLength: 50,
                nullable: true);

            migrationBuilder.AddColumn<string>(
                name: "LastModifierName",
                table: "Sys_Menu",
                type: "nvarchar(50)",
                maxLength: 50,
                nullable: true);

            migrationBuilder.AddColumn<string>(
                name: "CreatorName",
                table: "Sys_Dict_Data",
                type: "nvarchar(50)",
                maxLength: 50,
                nullable: true);

            migrationBuilder.AddColumn<string>(
                name: "DeleterName",
                table: "Sys_Dict_Data",
                type: "nvarchar(50)",
                maxLength: 50,
                nullable: true);

            migrationBuilder.AddColumn<string>(
                name: "LastModifierName",
                table: "Sys_Dict_Data",
                type: "nvarchar(50)",
                maxLength: 50,
                nullable: true);

            migrationBuilder.AddColumn<string>(
                name: "CreatorName",
                table: "Sys_Dict",
                type: "nvarchar(50)",
                maxLength: 50,
                nullable: true);

            migrationBuilder.AddColumn<string>(
                name: "DeleterName",
                table: "Sys_Dict",
                type: "nvarchar(50)",
                maxLength: 50,
                nullable: true);

            migrationBuilder.AddColumn<string>(
                name: "LastModifierName",
                table: "Sys_Dict",
                type: "nvarchar(50)",
                maxLength: 50,
                nullable: true);

            migrationBuilder.AddColumn<string>(
                name: "CreatorName",
                table: "Sys_Dept",
                type: "nvarchar(50)",
                maxLength: 50,
                nullable: true);

            migrationBuilder.AddColumn<string>(
                name: "DeleterName",
                table: "Sys_Dept",
                type: "nvarchar(50)",
                maxLength: 50,
                nullable: true);

            migrationBuilder.AddColumn<string>(
                name: "LastModifierName",
                table: "Sys_Dept",
                type: "nvarchar(50)",
                maxLength: 50,
                nullable: true);

            migrationBuilder.AddColumn<string>(
                name: "CreatorName",
                table: "Sys_Config",
                type: "nvarchar(50)",
                maxLength: 50,
                nullable: true);

            migrationBuilder.AddColumn<string>(
                name: "DeleterName",
                table: "Sys_Config",
                type: "nvarchar(50)",
                maxLength: 50,
                nullable: true);

            migrationBuilder.AddColumn<string>(
                name: "LastModifierName",
                table: "Sys_Config",
                type: "nvarchar(50)",
                maxLength: 50,
                nullable: true);

            migrationBuilder.AddColumn<string>(
                name: "CreatorName",
                table: "Room",
                type: "nvarchar(50)",
                maxLength: 50,
                nullable: true);

            migrationBuilder.AddColumn<string>(
                name: "DeleterName",
                table: "Room",
                type: "nvarchar(50)",
                maxLength: 50,
                nullable: true);

            migrationBuilder.AddColumn<string>(
                name: "LastModifierName",
                table: "Room",
                type: "nvarchar(50)",
                maxLength: 50,
                nullable: true);
        }

        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropColumn(
                name: "CreatorName",
                table: "Sys_User_Notice");

            migrationBuilder.DropColumn(
                name: "DeleterName",
                table: "Sys_User_Notice");

            migrationBuilder.DropColumn(
                name: "LastModifierName",
                table: "Sys_User_Notice");

            migrationBuilder.DropColumn(
                name: "CreatorName",
                table: "Sys_User");

            migrationBuilder.DropColumn(
                name: "DeleterName",
                table: "Sys_User");

            migrationBuilder.DropColumn(
                name: "LastModifierName",
                table: "Sys_User");

            migrationBuilder.DropColumn(
                name: "CreatorName",
                table: "Sys_Role");

            migrationBuilder.DropColumn(
                name: "DeleterName",
                table: "Sys_Role");

            migrationBuilder.DropColumn(
                name: "LastModifierName",
                table: "Sys_Role");

            migrationBuilder.DropColumn(
                name: "CreatorName",
                table: "Sys_Notice");

            migrationBuilder.DropColumn(
                name: "DeleterName",
                table: "Sys_Notice");

            migrationBuilder.DropColumn(
                name: "LastModifierName",
                table: "Sys_Notice");

            migrationBuilder.DropColumn(
                name: "CreatorName",
                table: "Sys_Menu");

            migrationBuilder.DropColumn(
                name: "DeleterName",
                table: "Sys_Menu");

            migrationBuilder.DropColumn(
                name: "LastModifierName",
                table: "Sys_Menu");

            migrationBuilder.DropColumn(
                name: "CreatorName",
                table: "Sys_Dict_Data");

            migrationBuilder.DropColumn(
                name: "DeleterName",
                table: "Sys_Dict_Data");

            migrationBuilder.DropColumn(
                name: "LastModifierName",
                table: "Sys_Dict_Data");

            migrationBuilder.DropColumn(
                name: "CreatorName",
                table: "Sys_Dict");

            migrationBuilder.DropColumn(
                name: "DeleterName",
                table: "Sys_Dict");

            migrationBuilder.DropColumn(
                name: "LastModifierName",
                table: "Sys_Dict");

            migrationBuilder.DropColumn(
                name: "CreatorName",
                table: "Sys_Dept");

            migrationBuilder.DropColumn(
                name: "DeleterName",
                table: "Sys_Dept");

            migrationBuilder.DropColumn(
                name: "LastModifierName",
                table: "Sys_Dept");

            migrationBuilder.DropColumn(
                name: "CreatorName",
                table: "Sys_Config");

            migrationBuilder.DropColumn(
                name: "DeleterName",
                table: "Sys_Config");

            migrationBuilder.DropColumn(
                name: "LastModifierName",
                table: "Sys_Config");

            migrationBuilder.DropColumn(
                name: "CreatorName",
                table: "Room");

            migrationBuilder.DropColumn(
                name: "DeleterName",
                table: "Room");

            migrationBuilder.DropColumn(
                name: "LastModifierName",
                table: "Room");

            migrationBuilder.AddColumn<string>(
                name: "ConcurrencyStamp",
                table: "Sys_User",
                type: "nvarchar(40)",
                maxLength: 40,
                nullable: true);

            migrationBuilder.AddColumn<string>(
                name: "ExtraProperties",
                table: "Sys_User",
                type: "nvarchar(max)",
                nullable: true);

            migrationBuilder.AddColumn<string>(
                name: "ConcurrencyStamp",
                table: "Sys_Role",
                type: "nvarchar(40)",
                maxLength: 40,
                nullable: true);

            migrationBuilder.AddColumn<string>(
                name: "ExtraProperties",
                table: "Sys_Role",
                type: "nvarchar(max)",
                nullable: true);

            migrationBuilder.AddColumn<string>(
                name: "ConcurrencyStamp",
                table: "Sys_Notice",
                type: "nvarchar(40)",
                maxLength: 40,
                nullable: true);

            migrationBuilder.AddColumn<string>(
                name: "ExtraProperties",
                table: "Sys_Notice",
                type: "nvarchar(max)",
                nullable: true);

            migrationBuilder.AddColumn<string>(
                name: "ConcurrencyStamp",
                table: "Sys_Menu",
                type: "nvarchar(40)",
                maxLength: 40,
                nullable: true);

            migrationBuilder.AddColumn<string>(
                name: "ExtraProperties",
                table: "Sys_Menu",
                type: "nvarchar(max)",
                nullable: true);

            migrationBuilder.AddColumn<string>(
                name: "ConcurrencyStamp",
                table: "Sys_Dict_Data",
                type: "nvarchar(40)",
                maxLength: 40,
                nullable: true);

            migrationBuilder.AddColumn<string>(
                name: "ExtraProperties",
                table: "Sys_Dict_Data",
                type: "nvarchar(max)",
                nullable: true);

            migrationBuilder.AddColumn<string>(
                name: "ConcurrencyStamp",
                table: "Sys_Dict",
                type: "nvarchar(40)",
                maxLength: 40,
                nullable: true);

            migrationBuilder.AddColumn<string>(
                name: "ExtraProperties",
                table: "Sys_Dict",
                type: "nvarchar(max)",
                nullable: true);

            migrationBuilder.AddColumn<string>(
                name: "ConcurrencyStamp",
                table: "Sys_Dept",
                type: "nvarchar(40)",
                maxLength: 40,
                nullable: true);

            migrationBuilder.AddColumn<string>(
                name: "ExtraProperties",
                table: "Sys_Dept",
                type: "nvarchar(max)",
                nullable: true);
        }
    }
}
